import Vue from 'vue'
import App from './App.vue'

// 导入需要全局注册的组件
import HmButton from './components/HmButton.vue'
import HmCounter from './components/HmCounter.vue'

// 全局注册组件
// Vue.component(组件名, 组件对象)
Vue.component('HmButton', HmButton)
Vue.component('HmCounter', HmCounter)


new Vue({
  render: h => h(App),
}).$mount('#app')
